using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Graduate.Model.Inventory;

namespace WinForm
{
    public partial class FormInventoryDetail : Form
    {

        #region variable
        public Point FormLocation;
        #endregion

        public FormInventoryDetail() : this(new Point(100, 100)) { }
        public FormInventoryDetail(Point formPoint)
        {
            InitializeComponent();
            this.FormLocation = formPoint;

        }

        private void FormInventoryDetail_Load(object sender, EventArgs e)
        {
            this.Location = this.FormLocation;

            Graduate.BLL.Inventory.Inventory thisInventory = new Graduate.BLL.Inventory.Inventory();
            this.BindingSource.DataSource = thisInventory.GetModelList("");
            this.reportViewer1.RefreshReport();
        }
    }
}
